<?php
abstract class Fpt_Business_ClubFavorite_Adapter_Abstract
{
    /**
     * Storage instance
     * @var <object>
     */
    protected $storage = NULL;

    /**
     * Set storage instance
     * @param <object> $storage
     */
    protected function setStorage($storage)
    {
        $this->storage = $storage;
    }

    /**
     * Get storage
     * @return <object>
     */
    protected function getStorage()
    {
        return $this->storage;
    }

    /**
     * Get options child
     * @param <array> $options
     * @return <array>
     */
    protected function getOptions($options)
    {
        return $options[$options['adapter']];
    }

    /**
     * Function abstract
     */
    abstract public function insertPageView($params);
}